feat: weather widget v61 + OS widget#555
Merged
Merged
Conversation
Member
Author
|
@codex review |
Member
Author
|
@piotr-iohk it needs update here too |
Contributor
Member
Author
|
a |
pwltr
requested changes
May 20, 2026
Co-authored-by: Philipp Walter <philippwalter@pm.me>
Co-authored-by: Philipp Walter <philippwalter@pm.me>
Member
Author
|
I'll polish Blocks and the other widgets in a stacked PR iphone-16.mp4iphone-se.mp4 |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e85b8070dd
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
…y even if the weather UI was never shown this session
Contributor
pwltr
approved these changes
May 20, 2026
Member
Author
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



This PR:
Description
The in-app card collapses to a hero glyph (☀️/⛅/⛈️) with the condition title, description, and one big green fee metric. The four legacy show/hide toggles become a single-select
WeatherDisplayMetric— Current Fee (fiat), Current Fee (sats), or Next Block Inclusion — matching the Figma. Existing on-disk preferences from older builds decode to the default metric.The new
BitkitWeatherWidget(Small + Medium) mirrors the in-app options through thegroup.bitkitApp Group viaWeatherHomeScreenWidgetOptionsStore, refreshes every ~2 minutes, and falls back to a directmempool.spacefetch when the cache is empty so the widget renders before the user opens the app.OS widget localization is handled by sharing
LocalizeHelpers.swiftwith the widget target.LanguageManagermirrors the selected language into the App Group and reloads all widget timelines on change;LocalizationHelperreads from the App Group first so the extension picks up the in-app selection. Localization keys align with bitkit-android (reuseswidgets__weather__current_fee/next_block, adds sharedwidgets__widget__displayand threecondition__*__short_titlevariants).Linked Issues/Tasks
FIGMA
Screenshot / Video
in-app-widget.mp4
translations.mp4
update-from-master.mp4
restore-from-android.mp4
change-currency.mp4
QA Notes
Manual Tests
regression:restore from Android backup withweatherPreferences: corresponding metric is selected (showCurrentFee→ fiat;showNextBlockFeeonly → next-block).regression:Install over main version